//
//  CantripWorldSettingsSelector.h
//  Cantrip
//
//  Created by James Callender on Sun May 05 2002.
//  Copyright (c) 2001 James Callender. All rights reserved.
//

#import <AppKit/AppKit.h>
#import <CantripSDK/CantripSDK.h>

#define Selector_IconWidth 80

@interface CantripWorldSettingsSelector : NSView 
{
    NSMutableArray *settingsModules;
    id<CantripSettingsModuleProtocol> *selectedModule;
    id<CantripSettingsModuleProtocol> *glowingModule;
    id delegate;
}

- (NSMutableArray *)modules;
- (NSObject<CantripSettingsModuleProtocol> *)selectedModule;
- (void)setDelegate:(id)d;
- (void)selectModuleAtIndex:(int)index;

@end

@interface NSObject (CantripWorldSettingsSelectorDelegate)
- (void)changeModuleView:(id<CantripSettingsModuleProtocol>)module;
@end